package com.example.base.net

/**
 * 常量池  用来存放一些网址路径  参数
 */
class Cons {
    //伴生对象---单例静态
    companion object{
        const val BASE_URL = "http://10.161.9.80:7012/"//基础路径
        const val LOGIN_URL = "/user/loginjson"
        const val REGISTER_URL = "/user/register"
        const val BANNER_URL = "/banner/json"//轮播图地址
        const val CATEGORY_URL = "goods/category"//商品分类地址
        const val GOODS_URL = "/goods/info"//商品地址
        const val DETAIL_URL = "/goods/detail"//商品详情地址
        const val ADDCAR_URL = "/goods/addCar"//添加到购物车
        const val SELECTCAR_URL = "/goods/selectCar"//查询购物车
        const val DELETECAR_URL = "/goods/deleteCar"//删除购物车
        const val ADDRESS_URL = "/user/updateAddress"//更新地址路径
        const val ICON_URL = "/user/updateIcon"//更新头像路径

    }
}